﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Enferno.Public.Web.ViewModels
{
    public class ParametricViewModel : ParametricBaseViewModel<ParametricValueViewModel>
    {
        
    }


    public class ParametricBaseViewModel<TParametricValueViewModel> : BaseViewModel
        where TParametricValueViewModel: ParametricValueViewModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string UnitOfMeasurement { get; set; }
        public bool IsPrimary { get; set; }
        public int GroupId { get; set; }
        public string Group { get; set; }
        public List<TParametricValueViewModel> Values { get; set; }
    }
}
